home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8979 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: 27 Feb 1996 18:10:42 GMT
  6. Organization: Borland International
  7. Message-ID: <4gvhf3$rgg@druid.borland.com>
  8. References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com>   <312515DF.7D3B@cmlj.demon.co.uk> <4gad29$ddp@druid.borland.com> <4ggshe$7bk@goanna.cs.rmit.EDU.AU> <4gmp2o$ian@ux1.lmu.edu> <312FDB27.4B83@inav.net>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <312FDB27.4B83@inav.net>, rainbow@inav.net says...
  15. >
  16. >Ray Toal wrote:
  17. >> 
  18. >> ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe) wrote:
  19. >> 
  20. >> >(4) C++ in particular has been changing very rapidly.  It seems as if 
  21. every
  22. >> >    time I turn around there is a new keyword.  
  23. >
  24. >What is the status of the plain/ordinary/but very noticably forgotten 
  25. boolean?
  26. >
  27. >It seems that the biggest difficutly that run into is that everybody 
  28. needs/wants to
  29. >declare a new version (and they are not all compatible!).  Because C/C++ were 
  30. never
  31. >polite enough to provide it to begin with (0 or non-zero is hardly a good 
  32. substitute)
  33. >we end up either creating the (ITEM, NON_ITEM) form, create yet another 
  34. version
  35. >(my latest is BooleaN, { FalsE, TruE } ).  I think I remember something about
  36. >BOOL in one of the C or C++ stds.  Which compilers use it?  (Borland does 
  37. not, 
  38. >at least thru 4.0).
  39. >
  40. >As you can tell from the tone of this post, I would be much happier to have a 
  41. language
  42. >that provides a few comforts and niceties, i.e., Ada, but I haven't yet been 
  43. able to
  44. >convince my cohorts and managers to come along.
  45.  
  46. BOOL is a Windowsism. It's a typedef for an int. C++ has a type bool, which is 
  47. supported in BC++ 5.0.
  48.     -- Pete
  49.  
  50.